package ru.spbu.math.seabattle.client.messages;

import java.io.Serializable;

import ru.spbu.math.seabattle.entity.PlayerID;

public class WelcomeMessage implements Serializable {

	private static final long serialVersionUID = 1L;

	private final PlayerID 	givenId;
	private final String	givenName;
	
	public WelcomeMessage(PlayerID givenId, String givenName) {
	
		this.givenId = givenId;
		this.givenName = givenName;
	}
	
	public PlayerID getGivenId() {
		return givenId;
	}
	
	public String getGivenName() {
		return givenName;
	}
}
